﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base
{
    /// <summary>
    /// 文档对应多个设备表
    /// </summary>
    [Table("Base_RepairOrderFileList")]
    public partial class Base_RepairOrderFileList
    {

        /// <summary>
        /// 自增主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 父级编号 (Base_RepairOrderFile)
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 伪删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 设备集合
        /// </summary>
        public String DeviceId { get; set; }

    }
    public class Base_RepairOrderFileListName {
        public string Id { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 设备规格
        /// </summary>
        public string Spec { get; set; }

        /// <summary>
        /// 设备id
        /// </summary>
        public string DeviceId { get; set; }

        public string ParentId { get; set; }

    }
}